__author__ = 'Aman'
from django_cron import  CronJobBase, Schedule
from yaasapp.views import validAuction

class CheckMail(CronJobBase):
    schedule = Schedule(run_every_mins=1,retry_after_failure_mins=1)
    code = 'yaasapp.cronjob'    # a unique code

    def do(self):
        validAuction()
        print "I am running!"